package cn.wolfcode.trip.base.service.impl;

import cn.wolfcode.trip.base.domain.PersonMessage;
import cn.wolfcode.trip.base.domain.SendMe;
import cn.wolfcode.trip.base.domain.StrategyComment;
import cn.wolfcode.trip.base.mapper.SendMeMapper;
import cn.wolfcode.trip.base.service.ISendMeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SendMeServiceImpl implements ISendMeService {

    @Autowired
    private SendMeMapper sendMeMapper;

    //新增
    @Override
    public void save(SendMe sendMe) {
        sendMeMapper.insert(sendMe);
    }


    @Override
    public void update(SendMe sendMe) {

    }

    @Override
    public SendMe get(Long sendMeId) {
        return null;
    }

    @Override
    public List<SendMe> selectAll() {
        return null;
    }

    @Override
    public void changeState(int state, Long targetId) {
        sendMeMapper.changeState(state, targetId);
    }
}
